<template>
  <div id="userLayout">
    <a-layout style="height: 100vh">
      <a-space class="head">
        <img style="width: 40px; height: 40px" src="../assets/logo4.png" />
        <div style="color: #7f7f7f; font-size: 20px">i答答AI应用平台</div>
      </a-space>
      <a-layout>
        <a-layout-sider style="width: 50%">
          <img
            src="../assets/bj2.png"
            style="width: 80%; height: 70%; margin: 50px"
          />
        </a-layout-sider>
        <a-layout-content>
          <router-view />
        </a-layout-content>
      </a-layout>
    </a-layout>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped>
#userLayout {
  text-align: center;
  //background: url("https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png")
  //  0% 0% / 100% 100%;
}

.head {
  margin-left: 20%;
}

#userLayout .logo {
  width: 48px;
  height: 48px;
}

#userLayout .header {
  margin-top: 16px;
  font-size: 21px;
}

#userLayout .content {
  margin-bottom: 16px;
  padding: 20px;
}

.footer {
  padding: 16px;
  text-align: center;
  background: #efefef;
}

.bg {
  width: 20%;
  height: 20%;
  background: url("../assets/bj1.png");
}
</style>
